package com.zzt.zt_hilt.abst;

import com.zzt.zt_hilt.impl.TestClassImpl;
import com.zzt.zt_hilt.inter.TestInterface;

import dagger.Binds;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityComponent;

/**
 * @author: zeting
 * @date: 2022/8/30
 */
@InstallIn(ActivityComponent.class)
@Module
public abstract class TestInterfaceModule {

    //        接口              与         实现类   的注入工作
    @Binds
    public abstract TestInterface bindTestClass(TestClassImpl testClass);
}
